package dao;

public class MainClaz {

	public static void main(String[] args) {
		StudentJDBCDAO student = new StudentJDBCDAO();
		StudentBean stuB = new StudentBean();

		stuB.setName("onder");
		stuB.setRollNo(1);
		stuB.setCourse("Math");
		stuB.setAddresss("kayseri");
		
		// StudentBean tinkoo = new StudentBean();
		// tinkoo.setName("Arvind");
		// tinkoo.setRollNo(6);
		
		// Adding Data
		student.add(stuB);
		
		// Deleting Data
		//student.delete(7);
		
		// Updating Data
		// student.update(tinkoo);
		
		// Displaying Data
		student.findAll();

	}
}
